package ed.com;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Testjob {
    @Test
    public  void test01()
    {
        ApplicationContext ac=
                new ClassPathXmlApplicationContext("application.xml");
        classes12 c12=(classes12) ac.getBean("allclass");
        c12.getC1().saying();
        c12.getC2().saying();
        ((ClassPathXmlApplicationContext)ac).close();
    }
}
